Computer Configuration > Administrative Templates > Firefox > Permissions > Virtual Reality
Both
HKLM\Software\Policies\Mozilla\Firefox\Permissions
If this policy is enabled, access to virtual reality devices is blocked for the origins indicated. If this policy is disabled or not configured, access to virtual reality devices is not blocked by default.